﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Drawing;

namespace Liquid.Windows {
	static partial class UnsafeNative {
		// Sets the window to be foreground
		[DllImport("User32")]
		public static extern int SetForegroundWindow(IntPtr hwnd);

		public const System.Int32 IDANI_CAPTION = 3;

		[DllImport("user32.dll")]
		public static extern bool DrawAnimatedRects(IntPtr hwnd, int idAni,
			[In] ref RECT lprcFrom, [In] ref RECT lprcTo);

		[DllImport("shell32.dll")]
		public static extern IntPtr SHAppBarMessage(AppBarMessage dwMessage, ref APPBARDATA pData);

		[DllImport("user32.dll")]
		public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
		public const string TaskbarClass = "Shell_TrayWnd";
	}
}
